package com.sg.model.app.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import lombok.experimental.Accessors;

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 1、规划，规划树、评价对象、空间、空间ID、评价对象ID、评价内容类型编码（一级目标分类、末级目标分类及一级观测点...）
2、绩效评价，评价树、评价对象、【空间、部门、就职记录、身份人员、宿主等】、【空间ID、部门ID、就职记录ID、身份人员ID、宿主ID等】、评价对象ID、评价内容类型编码（评价模板、目标分类、指标）
3、二级部门目标任务书，部门目标任务书、二级部门目标任务责任部门、部门、部门ID、评价内容类型编码（一级目标分类等）
4、OKR，OKR责任主体树，OKR责任主体部门或个人、评价内容类型编码（评价模板级别）
 *
 * @author xxx
 */
@Data
@Accessors(chain = true)
@TableName("oms_evaluation_template_evaluation_set")  //3-3-14评价模板评价设置表
public class OmsEvaluationTemplateEvaluationSet implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    
    
    /**
     * 评价模板评价设置ID 
     */
    @TableId(value = "eva_temp_eva_set_id", type = IdType.ASSIGN_UUID)
		@NotNull(message = "evaTempEvaSetId不能为空")
    private String	 evaTempEvaSetId;

    /**
     * 评价填报角色ID 
     */
    @TableField(value = "evaluation_fill_role_id")
		@Schema(description = "评价填报角色ID")
    private String	 evaluationFillRoleId;
    /**
     * 评价内容类型编码 EVALUATION_TEMPLATE:评价模板 ONE_LEVEL_TARGET_CATEGORY:一级目标分类 LAST_STAGE_TARGET_CATEGORY:末级目标分类 OBJECTIVE:指标
     */
    @TableField(value = "eva_content_type_code")
		@Schema(description = "评价内容类型编码")
    private String	 evaContentTypeCode;
    /**
     * 评价内容ID 
     */
    @TableField(value = "eva_content_id")
		@Schema(description = "评价内容ID")
    private String	 evaContentId;
    /**
     * 评价模板ID 
     */
    @TableField(value = "evaluation_template_id")
		@Schema(description = "评价模板ID")
    private String	 evaluationTemplateId;

    /**
     * 批次标识 
     */
    @TableField(value = "batch_code")
		@Schema(description = "批次标识")
    private String	 batchCode;
    /**
     * 批次开始时间 
     */
    @TableField(value = "batch_start_time")
		@Schema(description = "批次开始时间")
    private Date	 batchStartTime;
    /**
     * 批次结束时间 
     */
    @TableField(value = "batch_endt_time")
		@Schema(description = "批次结束时间")
    private Date	 batchEndtTime;
    /**
     * 批次下是否更新 TRUE:是 FALSE:否
     */
    @TableField(value = "is_update")
		@Schema(description = "批次下是否更新")
    private String	 isUpdate;
    /**
     * 批次下更新状态 NEW:本次新增 UNCHANGED:正常未变 REVISION:本次修订 ARCHIVE:本次存档
     */
    @TableField(value = "update_status")
		@Schema(description = "批次下更新状态")
    private String	 updateStatus;
    /**
     * 存档类型 NOT_ARCHIVE:未归档 TOBE_ARCHIVING:想归档 ARCHIVED:已归档
     */
    @TableField(value = "archivng_type")
		@Schema(description = "存档类型")
    private String	 archivngType;
    /**
     * 是否未来 TRUE:是 FALSE:否
     */
    @TableField(value = "is_editing")
		@Schema(description = "是否未来")
    private String	 isEditing;
    /**
     * 是否存档 TRUE:是 FALSE:否
     */
    @TableField(value = "is_archive")
		@Schema(description = "是否存档")
    private String	 isArchive;
    /**
     * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
     */
    @TableField(value = "subject_life_cycle")
		@Schema(description = "主体生命周期")
    private String	 subjectLifeCycle;
    /**
     * 操作人就职记录ID 
     */
    @TableField(value = "operation_induction_id")
		@Schema(description = "操作人就职记录ID")
    private String	 operationInductionId;
    /**
     * 创建人就职记录ID 
     */
    @TableField(value = "create_induction_id")
		@Schema(description = "创建人就职记录ID ")
    private String	 createInductionId;
    /**
     * 发布人就职记录ID 
     */
    @TableField(value = "release_induction_id")
		@Schema(description = "发布人就职记录ID")
    private String	 releaseInductionId;
    /**
     * 存档人就职记录ID 
     */
    @TableField(value = "archive_induction_id")
		@Schema(description = "存档人就职记录ID")
    private String	 archiveInductionId;
    /**
     * 操作时间 
     */
    @TableField(value = "operate_time")
		@Schema(description = "操作时间")
    private Date	 operateTime;
    /**
     * 创建时间 
     */
    @TableField(value = "create_time")
		@Schema(description = "创建时间")
    private Date	 createTime;
    /**
     * 发布时间 
     */
    @TableField(value = "release_time")
		@Schema(description = "发布时间")
    private Date	 releaseTime;
    /**
     * 存档时间 
     */
    @TableField(value = "archive_time")
		@Schema(description = "存档时间")
    private Date	 archiveTime;
    /**
     * 是否作废 TRUE:是 FALSE:否
     */
    @TableField(value = "is_valid")
		@Schema(description = "是否作废")
    private String	 isValid;
    /**
     * 创建于空间ID 
     */
    @TableField(value = "space_id")
		@Schema(description = "创建于空间ID")
    private String	 spaceId;
    /**
     * 创建于联盟应用ID 
     */
    @TableField(value = "app_id")
		@Schema(description = "创建于联盟应用ID")
    private String	 appId;
}
